package com.ruoyi.project.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目执行任务对象 project_execution_tasks
 * 
 * @author czj
 * @date 2025-01-06
 */
public class ProjectExecutionTasks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long taskId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务负责人id */
    @Excel(name = "任务负责人id")
    private Long taskLeaderId;

    /** 项目实施单位 */
    @Excel(name = "项目实施单位")
    private String implementationUnit;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String taskDescription;

    /** 任务开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 任务结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 任务进展（如完成百分比） */
    @Excel(name = "任务进展", readConverterExp = "如=完成百分比")
    private BigDecimal progress;

    /** 项目团队成员 */
    @Excel(name = "项目团队成员")
    private String teamMembers;

    /** 遇到的问题 */
    @Excel(name = "遇到的问题")
    private String issues;

    /** 达成的里程碑 */
    @Excel(name = "达成的里程碑")
    private String milestones;

    /** 备注 */
    @Excel(name = "备注")
    private String comments;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 删除标记，0=未删除，1=已删除 */
    @Excel(name = "删除标记，0=未删除，1=已删除")
    private Integer isDeleted;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskLeaderId(Long taskLeaderId) 
    {
        this.taskLeaderId = taskLeaderId;
    }

    public Long getTaskLeaderId() 
    {
        return taskLeaderId;
    }
    public void setImplementationUnit(String implementationUnit) 
    {
        this.implementationUnit = implementationUnit;
    }

    public String getImplementationUnit() 
    {
        return implementationUnit;
    }
    public void setTaskDescription(String taskDescription) 
    {
        this.taskDescription = taskDescription;
    }

    public String getTaskDescription() 
    {
        return taskDescription;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setProgress(BigDecimal progress) 
    {
        this.progress = progress;
    }

    public BigDecimal getProgress() 
    {
        return progress;
    }
    public void setTeamMembers(String teamMembers) 
    {
        this.teamMembers = teamMembers;
    }

    public String getTeamMembers() 
    {
        return teamMembers;
    }
    public void setIssues(String issues) 
    {
        this.issues = issues;
    }

    public String getIssues() 
    {
        return issues;
    }
    public void setMilestones(String milestones) 
    {
        this.milestones = milestones;
    }

    public String getMilestones() 
    {
        return milestones;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setDeletedBy(String deletedBy) 
    {
        this.deletedBy = deletedBy;
    }

    public String getDeletedBy() 
    {
        return deletedBy;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("projectId", getProjectId())
            .append("taskName", getTaskName())
            .append("taskLeaderId", getTaskLeaderId())
            .append("implementationUnit", getImplementationUnit())
            .append("taskDescription", getTaskDescription())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("progress", getProgress())
            .append("teamMembers", getTeamMembers())
            .append("issues", getIssues())
            .append("milestones", getMilestones())
            .append("comments", getComments())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .append("updatedBy", getUpdatedBy())
            .append("updatedAt", getUpdatedAt())
            .append("deletedBy", getDeletedBy())
            .append("deletedAt", getDeletedAt())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .toString();
    }
}
